<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>SDL_gpu: Initialization</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">SDL_gpu
   &#160;<span id="projectnumber">0.10.0</span>
   </div>
   <div id="projectbrief">A hardware-accelerated, cross-platform 2D graphics API</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#typedef-members">Typedefs</a>  </div>
  <div class="headertitle">
<div class="title">Initialization</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structGPU__RendererID.html">GPU_RendererID</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:gaaebe0cd4586c57db28fc9b30c4d2ac05"><td class="memItemLeft" align="right" valign="top">typedef Uint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Initialization_gaaebe0cd4586c57db28fc9b30c4d2ac05.html#gaaebe0cd4586c57db28fc9b30c4d2ac05">GPU_FeatureEnum</a></td></tr>
<tr class="separator:gaaebe0cd4586c57db28fc9b30c4d2ac05"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga62a85a57c85e253a9dc78bf4e9eef128"><td class="memItemLeft" align="right" valign="top">typedef Uint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Initialization_ga62a85a57c85e253a9dc78bf4e9eef128.html#ga62a85a57c85e253a9dc78bf4e9eef128">GPU_InitFlagEnum</a></td></tr>
<tr class="separator:ga62a85a57c85e253a9dc78bf4e9eef128"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1ada472883f5e5eca145314eb24863ea"><td class="memItemLeft" align="right" valign="top">DECLSPEC SDL_version SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Initialization_ga1ada472883f5e5eca145314eb24863ea.html#ga1ada472883f5e5eca145314eb24863ea">GPU_GetLinkedVersion</a> (void)</td></tr>
<tr class="separator:ga1ada472883f5e5eca145314eb24863ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga89c202dab9079add927782c61f158f41"><td class="memItemLeft" align="right" valign="top">DECLSPEC void SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Initialization_ga89c202dab9079add927782c61f158f41.html#ga89c202dab9079add927782c61f158f41">GPU_SetInitWindow</a> (Uint32 windowID)</td></tr>
<tr class="separator:ga89c202dab9079add927782c61f158f41"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6a86d9e3219303a0b631da1509b8764a"><td class="memItemLeft" align="right" valign="top">DECLSPEC Uint32 SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Initialization_ga6a86d9e3219303a0b631da1509b8764a.html#ga6a86d9e3219303a0b631da1509b8764a">GPU_GetInitWindow</a> (void)</td></tr>
<tr class="separator:ga6a86d9e3219303a0b631da1509b8764a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab477eb052fc1314f88d24572f24f3510"><td class="memItemLeft" align="right" valign="top">DECLSPEC void SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Initialization_gab477eb052fc1314f88d24572f24f3510.html#gab477eb052fc1314f88d24572f24f3510">GPU_SetPreInitFlags</a> (<a class="el" href="group__Initialization_ga62a85a57c85e253a9dc78bf4e9eef128.html#ga62a85a57c85e253a9dc78bf4e9eef128">GPU_InitFlagEnum</a> GPU_flags)</td></tr>
<tr class="separator:gab477eb052fc1314f88d24572f24f3510"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga18f761cef4052190f9f2d7e125c33609"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="group__Initialization_ga62a85a57c85e253a9dc78bf4e9eef128.html#ga62a85a57c85e253a9dc78bf4e9eef128">GPU_InitFlagEnum</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Initialization_ga18f761cef4052190f9f2d7e125c33609.html#ga18f761cef4052190f9f2d7e125c33609">GPU_GetPreInitFlags</a> (void)</td></tr>
<tr class="separator:ga18f761cef4052190f9f2d7e125c33609"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga97d836ce5734fdd097c3b44f2ec017c1"><td class="memItemLeft" align="right" valign="top">DECLSPEC void SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Initialization_ga97d836ce5734fdd097c3b44f2ec017c1.html#ga97d836ce5734fdd097c3b44f2ec017c1">GPU_SetRequiredFeatures</a> (<a class="el" href="group__Initialization_gaaebe0cd4586c57db28fc9b30c4d2ac05.html#gaaebe0cd4586c57db28fc9b30c4d2ac05">GPU_FeatureEnum</a> features)</td></tr>
<tr class="separator:ga97d836ce5734fdd097c3b44f2ec017c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae0b9f90ca177ee5bd2f9e925b2dc6032"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="group__Initialization_gaaebe0cd4586c57db28fc9b30c4d2ac05.html#gaaebe0cd4586c57db28fc9b30c4d2ac05">GPU_FeatureEnum</a> SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Initialization_gae0b9f90ca177ee5bd2f9e925b2dc6032.html#gae0b9f90ca177ee5bd2f9e925b2dc6032">GPU_GetRequiredFeatures</a> (void)</td></tr>
<tr class="separator:gae0b9f90ca177ee5bd2f9e925b2dc6032"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabfa7213b5500b929f27b57f7f72514f6"><td class="memItemLeft" align="right" valign="top">DECLSPEC void SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Initialization_gabfa7213b5500b929f27b57f7f72514f6.html#gabfa7213b5500b929f27b57f7f72514f6">GPU_GetDefaultRendererOrder</a> (int *order_size, <a class="el" href="structGPU__RendererID.html">GPU_RendererID</a> *order)</td></tr>
<tr class="separator:gabfa7213b5500b929f27b57f7f72514f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaacd563fac88f3429cb0df97e0a4ad529"><td class="memItemLeft" align="right" valign="top">DECLSPEC void SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Initialization_gaacd563fac88f3429cb0df97e0a4ad529.html#gaacd563fac88f3429cb0df97e0a4ad529">GPU_GetRendererOrder</a> (int *order_size, <a class="el" href="structGPU__RendererID.html">GPU_RendererID</a> *order)</td></tr>
<tr class="separator:gaacd563fac88f3429cb0df97e0a4ad529"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4231dc2b70cdf1111dcd8392245d509d"><td class="memItemLeft" align="right" valign="top">DECLSPEC void SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Initialization_ga4231dc2b70cdf1111dcd8392245d509d.html#ga4231dc2b70cdf1111dcd8392245d509d">GPU_SetRendererOrder</a> (int order_size, <a class="el" href="structGPU__RendererID.html">GPU_RendererID</a> *order)</td></tr>
<tr class="separator:ga4231dc2b70cdf1111dcd8392245d509d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga620f08a2ca3accfc37becad1157504c5"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="structGPU__Target.html">GPU_Target</a> *SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Initialization_ga620f08a2ca3accfc37becad1157504c5.html#ga620f08a2ca3accfc37becad1157504c5">GPU_Init</a> (Uint16 w, Uint16 h, <a class="el" href="SDL__gpu_8h_a0dfa472cfdf374c478cc497e18c7e398.html#a0dfa472cfdf374c478cc497e18c7e398">GPU_WindowFlagEnum</a> SDL_flags)</td></tr>
<tr class="separator:ga620f08a2ca3accfc37becad1157504c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga86ab4e26a09cadfa16ee1e8faeaf93a1"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="structGPU__Target.html">GPU_Target</a> *SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Initialization_ga86ab4e26a09cadfa16ee1e8faeaf93a1.html#ga86ab4e26a09cadfa16ee1e8faeaf93a1">GPU_InitRenderer</a> (<a class="el" href="SDL__gpu_8h_a90140956601b2cb43909d7a5b978a694.html#a90140956601b2cb43909d7a5b978a694">GPU_RendererEnum</a> renderer_enum, Uint16 w, Uint16 h, <a class="el" href="SDL__gpu_8h_a0dfa472cfdf374c478cc497e18c7e398.html#a0dfa472cfdf374c478cc497e18c7e398">GPU_WindowFlagEnum</a> SDL_flags)</td></tr>
<tr class="separator:ga86ab4e26a09cadfa16ee1e8faeaf93a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac9540bb6bcd76c83e2bd3faefde8eefb"><td class="memItemLeft" align="right" valign="top">DECLSPEC <a class="el" href="structGPU__Target.html">GPU_Target</a> *SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Initialization_gac9540bb6bcd76c83e2bd3faefde8eefb.html#gac9540bb6bcd76c83e2bd3faefde8eefb">GPU_InitRendererByID</a> (<a class="el" href="structGPU__RendererID.html">GPU_RendererID</a> renderer_request, Uint16 w, Uint16 h, <a class="el" href="SDL__gpu_8h_a0dfa472cfdf374c478cc497e18c7e398.html#a0dfa472cfdf374c478cc497e18c7e398">GPU_WindowFlagEnum</a> SDL_flags)</td></tr>
<tr class="separator:gac9540bb6bcd76c83e2bd3faefde8eefb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad6fabda62c397642de340bb2e9ca3cc5"><td class="memItemLeft" align="right" valign="top">DECLSPEC Uint8 SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Initialization_gad6fabda62c397642de340bb2e9ca3cc5.html#gad6fabda62c397642de340bb2e9ca3cc5">GPU_IsFeatureEnabled</a> (<a class="el" href="group__Initialization_gaaebe0cd4586c57db28fc9b30c4d2ac05.html#gaaebe0cd4586c57db28fc9b30c4d2ac05">GPU_FeatureEnum</a> feature)</td></tr>
<tr class="separator:gad6fabda62c397642de340bb2e9ca3cc5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab304b9b3ab6077b5c1803352ef35af23"><td class="memItemLeft" align="right" valign="top">DECLSPEC void SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Initialization_gab304b9b3ab6077b5c1803352ef35af23.html#gab304b9b3ab6077b5c1803352ef35af23">GPU_CloseCurrentRenderer</a> (void)</td></tr>
<tr class="separator:gab304b9b3ab6077b5c1803352ef35af23"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga11c2d2df4a157d3bdb1123ed4cace49e"><td class="memItemLeft" align="right" valign="top">DECLSPEC void SDLCALL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Initialization_ga11c2d2df4a157d3bdb1123ed4cace49e.html#ga11c2d2df4a157d3bdb1123ed4cace49e">GPU_Quit</a> (void)</td></tr>
<tr class="separator:ga11c2d2df4a157d3bdb1123ed4cace49e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>SDL_gpu has a fairly simple initialization process. If you need nothing more than the default initialization, call: </p><pre>GPU_Target* screen = GPU_Init(width, height, GPU_DEFAULT_INIT_FLAGS);</pre><p> Then when you're done, clean up with: </p><pre><a class="el" href="group__Initialization_ga11c2d2df4a157d3bdb1123ed4cace49e.html#ga11c2d2df4a157d3bdb1123ed4cace49e">GPU_Quit()</a>;</pre><p>Other functions in the Initialization module control how initialization is performed. </p>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Feb 11 2015 20:10:45 for SDL_gpu by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
